package com.ziyueyuwen.xiniao.bean.homework;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import java.util.Date;
import java.util.List;

/**
 * @author jun 2018/12/11.
 */
public class ZyHomeworkRecordDO {
    private Integer id;
    private String studentId;
    private Integer subjectQuestionId;
    private Integer courseId;
    private Integer classId;
    private Integer lessonId;
    private JSONObject classroomTestRecord;
    private List<AnswerData> answerInfoList;
    private Boolean ifFinishAnswer;
    private Boolean ifMarked;
    private HomeworkMarkData markInfo;
    private Date finishTime;
    private Date createTime;

    public ZyHomeworkRecordDO() {
        classroomTestRecord = new JSONObject();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public Integer getSubjectQuestionId() {
        return subjectQuestionId;
    }

    public void setSubjectQuestionId(Integer subjectQuestionId) {
        this.subjectQuestionId = subjectQuestionId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getLessonId() {
        return lessonId;
    }

    public void setLessonId(Integer lessonId) {
        this.lessonId = lessonId;
    }


    public Boolean getIfFinishAnswer() {
        return ifFinishAnswer;
    }

    public void setIfFinishAnswer(Boolean ifFinishAnswer) {
        this.ifFinishAnswer = ifFinishAnswer;
    }

    public Boolean getIfMarked() {
        return ifMarked;
    }

    public void setIfMarked(Boolean ifMarked) {
        this.ifMarked = ifMarked;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public List<AnswerData> getAnswerInfoList() {
        return answerInfoList;
    }

    public void setAnswerInfoList(List<AnswerData> answerInfoList) {
        this.answerInfoList = answerInfoList;
    }

    public HomeworkMarkData getMarkInfo() {
        return markInfo;
    }

    public void setMarkInfo(HomeworkMarkData markInfo) {
        this.markInfo = markInfo;
    }

    public JSONObject getClassroomTestRecord() {
        return classroomTestRecord;
    }

    public void setClassroomTestRecord(JSONObject classroomTestRecord) {
        this.classroomTestRecord = classroomTestRecord;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
